package com.jlu.yygh.model.user;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "Admin")
@TableName("admin")
public class Admin {

  @ApiModelProperty(value = "用户id")
  @TableField("id")
  private int id;

  @ApiModelProperty(value = "用户名称")
  @TableField("name")
  private String name;

  @ApiModelProperty(value = "用户密码")
  @TableField("password")
  private String password;
}
